package com.bsoft.gol.editor.model;
/**
 * 家医级别枚举
 * @author 王智伟
 *
 */
public enum UploadFieldNameEnum {

	DATA_USER_DISEASE("用户数据","uploadUser");


	private UploadFieldNameEnum(String text,String value){
		this.text = text;
		this.value = value;
	}
	public String value;//值
	public String text;//文字
	
	public static String getText(String val){
		for (UploadFieldNameEnum uploadFieldNameEnum : values()) {
			if (uploadFieldNameEnum.value.equals(val)) {
				return uploadFieldNameEnum.text;
			}
		}
		return "";
	}
}
